package com.xuzy.x808.entity;

import io.netty.buffer.ByteBuf;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PackageData {
    /**
     * 16byte消息头
     */
    private MsgHeader msgHeader;

    /**
     * 消息体字节数组
     */
    private ByteBuf msgBody;

    /**
     * 校验码 1byte
     */
    private int checkCode;
}
